//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['Kenny Wayne Shepherd','Mayo Civic Center Presentation Hall','Rochester, MN','Tuesday','8/19/2025','7:00 PM','6970360','Kenny-Wayne-Shepherd-8-19-2025'],['Nate Bargatze','Mayo Civic Center Arena','Rochester, MN','Wednesday','9/17/2025','7:00 PM','6858777','Nate-Bargatze-9-17-2025'],['Sal Vulcano','Mayo Civic Center Auditorium','Rochester, MN','Friday','9/26/2025','7:00 PM','7121731','Sal-Vulcano-9-26-2025'],['Rob Schneider','Mayo Civic Center Presentation Hall','Rochester, MN','Saturday','9/27/2025','7:30 PM','6877152','Rob-Schneider-9-27-2025'],['World Ballet Company: The Great Gatsby','Mayo Civic Center Presentation Hall','Rochester, MN','Friday','10/10/2025','7:00 PM','7081175','World-Ballet-Company--The-Great-Gatsby-10-10-2025'],['Blippi Live','Mayo Civic Center Auditorium','Rochester, MN','Saturday','10/11/2025','2:00 PM','7194684','Blippi-Live-10-11-2025'],['Michael W. Smith','Mayo Civic Center Presentation Hall','Rochester, MN','Saturday','10/11/2025','7:00 PM','7060302','Michael-W--Smith-10-11-2025'],['Dylan Scott','Mayo Clinic Health System Event Center','Mankato, MN','Friday','10/24/2025','7:30 PM','7103891','Dylan-Scott-10-24-2025'],['Randy Travis','Mayo Civic Center Presentation Hall','Rochester, MN','Thursday','11/6/2025','7:30 PM','7022620','Randy-Travis-11-6-2025'],['Dustin Lynch & Scotty McCreery','Mayo Civic Center Arena','Rochester, MN','Saturday','11/8/2025','7:00 PM','7119961','Dustin-Lynch---Scotty-McCreery-11-8-2025'],['Styx & Loverboy','Mayo Clinic Health System Event Center','Mankato, MN','Thursday','11/13/2025','7:30 PM','7065739','Styx---Loverboy-11-13-2025'],['Theresa Caputo','Mayo Civic Center Auditorium','Rochester, MN','Friday','11/21/2025','7:30 PM','7192994','Theresa-Caputo-11-21-2025'],['A Christmas with C.S. Lewis','Mayo Civic Center Presentation Hall','Rochester, MN','Saturday','11/29/2025','7:30 PM','7175500','A-Christmas-with-C-S--Lewis-11-29-2025'],['Jim Brickman','Mayo Civic Center Presentation Hall','Rochester, MN','Wednesday','12/10/2025','7:30 PM','7139097','Jim-Brickman-12-10-2025'],['Will Hearn's Grand Ol' Christmas Show','Mayo Civic Center Presentation Hall','Rochester, MN','Friday','12/12/2025','8:00 PM','7195718','Will-Hearn-s-Grand-Ol--Christmas-Show-12-12-2025'],['World Ballet Company: The Nutcracker','Mayo Civic Center Presentation Hall','Rochester, MN','Saturday','12/13/2025','7:00 PM','7176391','World-Ballet-Company--The-Nutcracker-12-13-2025'],['Travis Anderson Trio: A Charlie Brown Christmas','Mayo Civic Center Presentation Hall','Rochester, MN','Monday','12/15/2025','7:00 PM','7188329','Travis-Anderson-Trio--A-Charlie-Brown-Christmas-12-15-2025'],['Rocky Mountain High Experience - A John Denver Christmas','Mayo Civic Center Presentation Hall','Rochester, MN','Tuesday','12/16/2025','7:30 PM','7176356','Rocky-Mountain-High-Experience---A-John-Denver-Christmas-12-16-2025']],'Mayo Civic Center','http://www.ticketnetwork.com/ticket/Mayo-Civic-Center-events.aspx');